//
//  CTCStatisticsDetailCell.m
//  ConsultantVersion
//
//  Created by 小龙 on 2017/5/9.
//  Copyright © 2017年 jieshuibao. All rights reserved.
//

#import "CTCStatisticsDetailCell.h"
@interface CTCStatisticsDetailCell()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *dateLabel;

@end

@implementation CTCStatisticsDetailCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


-(void)setStatisticsModel:(CTCStatisticsModel *)statisticsModel
{
    _statisticsModel = statisticsModel;
    self.titleLabel.text = statisticsModel.companyName;
    self.dateLabel.text = [NSDate stringFromTimestamp:statisticsModel.date];
}

@end
